table,
tr,
td,
th {
  color: var(--font-primary);
}

.md-editor {
  background-color: #292a2d !important;
}

.md-editor-dark {
  --md-color: #fff !important;
}

/* n-input */
.n-input .n-input-wrapper {
  background-color: var(--bg-input);
}
.n-input .n-input-wrapper:focus-within {
  border-color: var(--main);
  box-shadow: 0 0 0 1px var(--main);
}

.n-input:not(.n-input--disabled).n-input--focus {
  background-color: var(--bg-input);
}

.n-input .n-input__border,
.n-input .n-input__state-border {
  border: none !important;
}

.n-input .n-input__input-el {
  max-height: 100% !important;
  color: var(--font-primary) !important;
}

/* n-button */
.n-button .n-button__border {
  border: none !important;
}

/* n-tabs */

.n-tabs .n-tabs-rail {
  background-color: var(--bg-tab) !important;
}

.n-tabs .n-tabs-rail .n-tabs-capsule {
  background-color: var(--bg-tab-active) !important;
}

.n-tabs .n-tabs-tab {
  color: var(--font-primary) !important;
}

.n-tabs .n-tabs-nav.n-tabs-nav--line-type.n-tabs-nav--top .n-tabs-nav-scroll-content {
  border: none !important;
}

.n-tabs.n-tabs--line-type .n-tabs-tab.n-tabs-tab--active {
  color: skyblue !important;
}

.n-tabs .n-tabs-bar {
  background-color: skyblue !important;
  height: 3px !important;
}

.n-tabs .n-tabs-rail .n-tabs-tab-wrapper .n-tabs-tab.n-tabs-tab--active {
  color: #0e558a !important;
}

/* n-collapse */
.n-collapse .n-collapse-item .n-collapse-item__header .n-collapse-item__header-main {
  color: var(--font-primary) !important;
}

.n-collapse .n-collapse-item .n-collapse-item__header .n-collapse-item-arrow {
  color: var(--font-primary) !important;
}

.n-collapse .n-collapse-item .n-collapse-item__content-wrapper .n-collapse-item__content-inner {
  padding-top: 5px !important;
}

/* n-popover */

.n-popover-shared .n-popover-arrow-wrapper .n-popover-arrow {
  background-color: var(--bg-center) !important;
}

/* n-card */
.n-card {
  background-color: var(--bg-editform) !important;
  color: var(--font-primary) !important;
}

.n-card .n-card-header,
.n-card__content,
.n-card__footer {
  padding: 0 !important;
}

.el-upload .el-upload--text {
  width: 100% !important;
}

.el-drawer__body {
  padding: 0 !important;
}
